import request from "../request";
import request_app from "../request_app";
// 订单列表
export const dayOrderIndex = (params) => {
  return request("/statistics/home/ebmerIndex", params, "post");
};
// 订单详情
export const dayOrderInfoByIds = (params) => {
  return request("/statistics/home/ebmerIndexInfoByIds", params, "post");
};

//获取个人信息
export const getUserInfo = (params) => {
  return request("/system/mer/" + params, {}, "get");
};
// 修改商户/供应商
export const updateMer = (params) => {
  return request("/system/mer/", params, "put");
};

// 核销订单列表
export const reconciledList = (params) => {
  return request_app("localfife/reconciledList", params, "get");
};
// 券码核销
export const orderVerification = (params) => {
  return request("system/localfife/orderVerification", params, "get");
};
//核销订单详情
export const orderInfoByticketCode = (params) => {
  return request_app("localfife/orderInfoByticketCode", params, "get");
};
//订单详情
export const orderInfo = (params) => {
  return request_app("localfife/orderInfo", params, "get");
};
/** 用户支付记录 */
export const userBill= (params) => {
  return request_app('localfife/userBill', params, "get");
}
// 富文本
export const getarticle= (params) => {
  return request_app('article/info', params, "get");
}